import Vue from 'vue';
let bus = new Vue();
Vue.prototype.$eventBus = bus;
export default bus;
//使用:this.$eventBus.$on('hasLogin', val => {});
//this.$eventBus.$emit('hasLogin',val=>{})
